from django.db import models

# Create your models here.

class NewsModel(models.Model):
    title = models.CharField(max_length=100)
    concent = models.TextField()
    authon = models.CharField(max_length=100)
    def __str__(self):
        return self.title
    class Meta:
        db_table = 'news'